home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / comm / cnet / INetShell308b.lha / INetShell / contrib / alynx13.lha / lynx.cfg < prev    next >
Text File  |  1995-04-11  |  16KB  |  391 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line 
  19. # note: these files can be remote (http://info.cern.ch/default.html) 
  20. # or local (file://localhost/DIRECTORY/FILENAME
  21. #  replace DIRECTORY with the current directory path and
  22. #  FILENAME with the name of the file.
  23. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  24. #
  25. STARTFILE:http://www.cc.ukans.edu/about_lynx/www_start.html
  26. #STARTFILE:http://localhost/
  27.  
  28. # HELPFILE must be defined as a URL and must have a 
  29. # complete local path name if local 
  30. # (file://localhost/DIRECTORY/FILENAME
  31. #  replace DIRECTORY with the current directory path and
  32. #  FILENAME with the name of the file.
  33. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  34. # the default HELPFILE is:
  35. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  36. # This file will be updated as needed.
  37. #
  38. HELPFILE:http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  39.  
  40. # DEFAULT_INDEX_FILE is the default file retrieved when the
  41. # user presses the 'I' key when viewing any document.
  42. # An index to your CWIS can be placed here or a document containing
  43. # pointers to lots of interesting places on the web.
  44. #
  45. #DEFAULT_INDEX_FILE:http://info.cern.ch/default.html
  46. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  47.  
  48. # The CHARACTER_SET defines the users default 8 bit character set
  49. # which is used to represent the list of character entities within
  50. # HTML. New character sets may be defined by modifying the file
  51. # src/LYCharSets in the Lynx source code distribution and
  52. # recompiling.
  53. # The default character sets include:
  54. #    ISO Latin 1
  55. #    DEC Multinational
  56. #    IBM PC character set
  57. #    NeXT character set
  58. #    7 bit approximations
  59. CHARACTER_SET:ISO Latin 1
  60.  
  61. # Local execution links and scripts are completely disabled
  62. # in the source code unless they are enabled in the
  63. # userdefs.h file and the sources recompiled.  Please
  64. # see the Lynx source code distribution and the userdefs.h
  65. # file for more detail on enabling execution links and scripts.
  66. #
  67. # If you have enabled execution links or scripts the following
  68. # two variables control Lynx's action when an execution link
  69. # or script is encountered.
  70. #
  71. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  72. # link or script will be executed no matter where it came from.
  73. # This is EXTREMELY dangerous.  Since Lynx can access files from
  74. # anywhere in the world, you may encounter links or scripts that
  75. # will cause damage or comprimise the security of your system.
  76. #
  77. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  78. # links or scripts that reside on the local machine and are
  79. # referenced with a URL beginning with "file://localhost" will
  80. # be executed.  This is much less dangerous than enabling all
  81. # execution links, but can still be dangerous.
  82. #
  83. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  84. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  85.  
  86. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  87. #  the information, or ALERTMAIL if there is no owner, every time
  88. #  that a document cannot be accessed!
  89. #
  90. #  VMS USERS !!!
  91. # You will probably want to set 'MAIL_SYSTEM_ERROR_LOGGING' to FALSE.
  92. # It can be nice to have automatic error logging but this is done
  93. # by doing a system command and running mail.  This is VERY slow under
  94. # VMS and just takes too darn long.
  95. #
  96. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  97.  
  98. # VI_KEYS can be turned on by the user in the options
  99. # screen or the .lynxrc file.  This is just the default.
  100. #
  101. VI_KEYS_ALWAYS_ON:FALSE
  102.  
  103. # EMACS_KEYS can be turned on by the user in the options
  104. # screen or the .lynxrc file.  This is just the default.
  105. #
  106. EMACS_KEYS_ALWAYS_ON:FALSE
  107.  
  108. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  109. # has numbers that work like arrows or else numbered links
  110. # DEFAULT KEYPAD MODE may be set to TRUE for
  111. # using numbers as arrows as default or FALSE for
  112. # using numbered links as the default
  113. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  114.  
  115. # The default search type.
  116. # This is a default that can be overridden by the user!
  117. #
  118. CASE_SENSITIVE_ALWAYS_ON:FALSE
  119.  
  120. # DEFAULT_BOOKMARK_FILE is a default filename for use as a
  121. # personal bookmark file.  It should start without a slash
  122. # and will reference a file from the users home directory.
  123. # NOTE: A file ending in .html should be used eliminate potential problems
  124. #
  125. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  126.  
  127. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  128. # NOVICE  shows a three line help message at the bottom of the screen
  129. # INTERMEDIATE  shows normal amount of help (one line)
  130. # ADVANCED  help is replaced by the URL of the current link
  131. #
  132. DEFAULT_USER_MODE:NOVICE
  133.  
  134. # DEFAULT_EDITOR sets the default editor for Lynx users.
  135. # If an editor is defined then the user may edit local documents
  136. # using that editor.  The editor will also be used for sending
  137. # mail messages.  If no editor is defined here or by the user
  138. # the user will not be able to edit local documents and a primative
  139. # line oriented mail input mode will be used.  
  140. # NOTE: Do not define an editor unless you know that every user will
  141. #       know how to use it.  Most users do not enjoy getting stuck in
  142. #       an unknown editor that they can't get out of.  Users can
  143. #       easily define an editor of their own using the options menu,
  144. #       so it is not always desirable to set the DEFAULT_EDITOR.
  145. #
  146. #DEFAULT_EDITOR:
  147.  
  148. # Printer definitions
  149. # any number of printers may be defined by using multiple 
  150. # printer definition sets.  Printers may be any program
  151. # that could be useful to your users, they do not necessarily
  152. # have to print.
  153. #
  154. # the definition of a printer is of the form
  155. # PRINTER:<printer name>:<printer command>:<printer option>
  156. #
  157. #    <printer name> is the name that the user will see
  158. # <printer command> is the command line arguments for printing a file
  159. #            the %s will be replaced with the file being printed.
  160. #                   If a second %s is given it will be replaced by a
  161. #                   suggested filename that is prettier than the tempfile
  162. #                   name given in the first %s
  163. #  <printer option> specifies whether the printer should be disabled for
  164. #            users without printing options.  The options are
  165. #            TRUE or FALSE;
  166. #            TRUE means the printer will always be ENABLED
  167. #             regardless of printer or anonymous settings
  168. #            FALSE means the printer will be DISABLED when
  169. #              the -noprint option is on, or for anonymous
  170. #              users which are not allowed to print
  171. #
  172. #  You must put the whole definition on one line.  
  173. #
  174. #  If you must use a colon, precede it with a backslash!
  175. #
  176. #    examples
  177. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  178. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  179. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE
  180.  
  181. # check out the lpansi program in utils/ for printing on vt100
  182. # attached printers.
  183. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  184. # don't use the following printer on anonymous accounts since
  185. # allowing shell input is very dangerous
  186. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  187.  
  188.  
  189. # Downloader definitions
  190. # any number of downloaders may be defined by using multiple
  191. # downloader definition sets.  Downloaders may be any program
  192. # that could be useful to your users, they do not necessarily
  193. # have to be a download protocol program. The most common use
  194. # of a downloader is to use Ckermit or some other transfer
  195. # program so that the user may easily transfer files back to
  196. # their local machine over a serial link.
  197. #
  198. # the definition of a downloader is of the form
  199. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  200. #
  201. #    <downloader name> is the name that the user will see
  202. # <downloader command> is the command line arguments for printing a file
  203. #                      the %s will be replaced with the file being printed
  204. #                      If a second %s is given it will be replaced by a
  205. #                      suggested filename that is prettier than the tempfile
  206. #                      name given in the first %s
  207. #  <downloader option> specifies whether the downloader should be disabled for
  208. #                      anonymous users.  The options are
  209. #                      TRUE or FALSE;
  210. #                      TRUE means the downloader will always be ENABLED
  211. #                           regardless of the anonymous settings
  212. #                      FALSE means the downloader will be DISABLED when
  213. #                            the user is anonymous.
  214. #
  215. #  You must put the whole definition on one line.
  216. #
  217. #  If you must use a colon, precede it with a backslash!
  218. #
  219. #    examples
  220. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s:TRUE
  221. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  222.  
  223. #UPLOADER: Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  224.  
  225. # MIME types and viewers!
  226. #
  227. # file extensions may be assigned to MIME types using
  228. # the SUFFIX: definition.  
  229. #
  230. # The SUFFIX definition takes the form of:
  231. #    SUFFIX:<file extension>:<mime type>
  232. # for instance the following definition maps the
  233. # extension ".gif" to the mime type "image/gif"
  234. #    SUFFIX:.gif:image/gif
  235. #
  236. # file suffixes are case INsensitive!
  237. #
  238. # The suffix definitions listed here in the default lynx.cfg file
  239. # are pre-defined within the Lynx code, but may be redefined below.
  240.  
  241. #SUFFIX:.ps:application/postscript
  242. #SUFFIX:.eps:application/postscript
  243. #SUFFIX:.ai:application/postscript
  244. #SUFFIX:.rtf:application/x-rtf
  245. #SUFFIX:.snd:audio/basic
  246. #SUFFIX:.gif:image/gif
  247. #SUFFIX:.rgb:image/x-rgb
  248. #SUFFIX:.pict:image/x-pict
  249. #SUFFIX:.xbm:image/x-xbm
  250. #SUFFIX:.tiff:image/x-tiff
  251. #SUFFIX:.jpg:image/jpeg
  252. #SUFFIX:.jpeg:image/jpeg
  253. #SUFFIX:.mpg:video/mpeg
  254. #SUFFIX:.mpeg:video/mpeg
  255. #SUFFIX:.mov:video/quicktime
  256. #SUFFIX:.hqx:application/octet-stream
  257. #SUFFIX:.bin:application/octet-stream
  258. #SUFFIX:.exe:application/octet-stream
  259. #SUFFIX:.tar:application/octet-stream
  260. #SUFFIX:.Z:application/octet-stream
  261. #SUFFIX:.gz:application/octet-stream
  262. #SUFFIX:.zip:application/octet-stream
  263. #SUFFIX:.lzh:application/octet-stream
  264. #SUFFIX:.lha:application/octet-stream
  265. #SUFFIX:.dms:application/octet-stream
  266.  
  267. # MIME types may be assigned to external viewers using
  268. # the VIEWER definition.
  269. #
  270. # Note: if you do not define a viewer to a new MIME type
  271. #       that you assigned above then it will be saved to
  272. #       disk by default.
  273. #
  274. # The VIEWER definition takes the form of:
  275. #    VIEWER:<mime type>:<viewing command>[:environment]
  276. #      where -mime type is the MIME content type of the file
  277. #         -viewing command is a system command that can be
  278. #             used to display the file where "%s" is replaced
  279. #             within the command with the physical filename
  280. #             (i.e. "xv %s" becomes "xv /tmp/tempgiffile")
  281. #            -environment is optional.  The only valid keywords
  282. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS 
  283. #             environment is specified then the viewer will only be defined
  284. #             when the user has the environment variable DISPLAY
  285. #             defined.  If the NON_XWINDOWS environment is specified
  286. #             the specified viewer will only be defined when the user
  287. #             DOES NOT have the environment variable DISPLAY defined.
  288. #  examples:
  289. #        VIEWER:image/gif:xv %s:XWINDOWS
  290. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  291. #               VIEWER:application/start-elm:elm
  292.  
  293. #original distribution:
  294. #
  295.  
  296. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  297. #VIEWER:image/gif:xv %s&:XWINDOWS
  298. #VIEWER:image/x-xbm:xv %s&:XWINDOWS
  299. #VIEWER:image/x-rgb:xv %s&:XWINDOWS
  300. #VIEWER:image/x-tiff:xv %s&:XWINDOWS
  301. #VIEWER:image/jpeg:xv %s&:XWINDOWS
  302. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  303.  
  304. # N`Kognito, Heikki Kantola, genius
  305. VIEWER:image/gif:fastview %s:NON_XWINDOWS
  306. VIEWER:image/x-xbm:MultiView %s:NON_XWINDOWS
  307. VIEWER:image/x-rgb:MultiView %s:XWINDOWS
  308. VIEWER:image/x-tiff:MultiView %s:XWINDOWS
  309. VIEWER:image/jpeg:FastJPEG %s:NON_XWINDOWS
  310. VIEWER:video/mpeg:mp %s:NON_XWINDOWS
  311. VIEWER:audio/*:play16 %s:NON_XWINDOWS
  312.  
  313. # Key remapping definitions!
  314. #
  315. # You may redefine the keymapping of any function in Lynx by
  316. # using the KEYMAP variable.  The form of KEYMAP is:
  317. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  318. #
  319. # You must map upper and lowercase key's separately.
  320. #
  321. # A complete list of functions mapped to there default keys are
  322. # provided below.  All of the mappings are commented out by default
  323. # since they just map to the default mappings anyways.
  324. #
  325. # Special keys map to:
  326. #         Up Arrow: 0x80
  327. #       Down Arrow: 0x81
  328. #      Right Arrow: 0x82
  329. #       Left Arrow: 0x83
  330. #        Page Down: 0x84
  331. #          Page Up: 0x85
  332. #      Keypad Home: 0x86
  333. #       Keypad End: 0x87
  334. #   Function key 1: 0x88
  335. # vt100   Help Key: 0x88
  336. # vt100     Do Key: 0x89
  337. # vt100   Find Key: 0x8A
  338. # vt100 Select Key: 0x8B
  339. # vt100 Insert Key: 0x8C
  340. # vt100 Remove Key: 0x8D
  341. #         NULL KEY: 0x00
  342. #
  343.  
  344. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source
  345. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  346. #KEYMAP:q:QUIT        # Ask the user to quit
  347. #KEYMAP:Q:ABORT        # Quit without verification
  348. #KEYMAP:0x20:NEXT_PAGE    # Move down to previous page
  349. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  350. #KEYMAP:^P:UP_TWO    # Move display up two lines
  351. #KEYMAP:0x8C:UP_TWO     # Function key - Move display up two lines
  352. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  353. #KEYMAP:0x8D:DOWN_TWO   # Function key - Move display down two lines
  354. #KEYMAP:^W:REFRESH    # Refresh the screen
  355. #KEYMAP:0x86:HOME       # Keypad HOME (Go to top of current document
  356. #KEYMAP:0x8A:HOME       # Function key - HOME (Go to top of current document
  357. #KEYMAP:0x87:END    # Keypad END (Go to bottom of current document
  358. #KEYMAP:0x8B:END        # Function key - END (Go to bottom of current document
  359. #KEYMAP:0x80:PREV_LINK  # Move to the previous link
  360. #KEYMAP:0x81:NEXT_LINK  # Move to the next link
  361. #KEYMAP:0x00:UP_LINK    # Move to the link above
  362. #KEYMAP:0x00:DOWN_LINK    # Move to the link below
  363. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  364. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  365. #KEYMAP:0x7f:HISTORY    # Show the history list
  366. #KEYMAP:0x08:HISTORY    # Show the history list
  367. #KEYMAP:0x83:PREV_DOC    # Return to the previous document
  368. #KEYMAP:0x82:ACTIVATE    # Select the current link
  369. #KEYMAP:0x89:ACTIVATE   # Function key - Select the current link
  370. #KEYMAP:g:GOTO        # Goto a random URL
  371. #KEYMAP:H:HELP        # Show default help screen
  372. #KEYMAP:0x88:HELP       # Function key - Show default help screen
  373. #KEYMAP:i:INDEX        # Show default index
  374. #KEYMAP:x:FORM_UP    # Increment form link
  375. #KEYMAP:z:FORM_DOWN    # Decrement form link
  376. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  377. #KEYMAP:o:OPTIONS    # Show the options menu
  378. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  379. #KEYMAP:/:WHEREIS    # Find a string within the current document
  380. #KEYMAP:n:NEXT        # Find next occurance of string within document
  381. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  382. #KEYMAP:e:EDIT        # Edit current document
  383. #KEYMAP:=:INFO        # Show info about current document
  384. #KEYMAP:p:PRINT        # Show print options
  385. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  386. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  387. #KEYMAP:!:SHELL        # Spawn default shell
  388. #KEYMAP:d:DOWNLOAD    # Download current link
  389. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  390.